package com.example.edu.mapper;

import com.example.edu.entity.Course;

import com.example.edu.entity.excel.CoursePublishInfo;

import java.util.List;
import java.util.Map;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.edu.entity.frontvo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2020-07-02
 */
public interface CourseMapper extends BaseMapper<Course> {
	public CoursePublishInfo getCoursePublishInfo(String id);

	public List<CoursePublishInfo> getAllCoursePublishInfo();
	
	public Integer selectCount(Map<String,Object> map);

	public List<CoursePublishInfo> getAllCoursePublishInfoByMap(Map<String, Object> map);

    CourseWebVo getFrontCourseInfoById(String courseId);

//	public List<CoursePublishInfo> getAllCoursePublishInfoByMap();

}
